package cn.tedu;

public class dou9 {
    public static void main(String[] args) {
        v z = new v();
        z.a();
        new b();
       b b = new b(10);
        System.out.println(b.b);



    }
}
class v{
    String name = "小三";
    public void a(){
        String name = "老三";
        System.out.println(name);
        System.out.println(this.name);
    }
}
class b{
    int b = 10;
    public b(){
        int b = 100;
        System.out.println(this.b);
        System.out.println(b);
    }
    public b(int a){
        System.out.println(a);

    }
}